﻿using System;
using System.Collections.Generic;
using System.Linq;

using Caliburn.Micro;

using Haushaltsbuch.ViewModels;
using Haushaltsbuch.ViewModels.Interfaces;

namespace Haushaltsbuch.Events
{
    public class ViewChangeEvent
    {
        public string ViewName { get; set; }
        public IShellContent View { get; set; }
        
        public ViewChangeEvent(IShellContent view)
        {
            this.View = view;
            this.ViewName = "";

        }

        public ViewChangeEvent(string ViewName)
        {
            this.ViewName = ViewName;
        }
    }
}